<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="mes_back">
    	<div class="p_logo"><img src="image/logo.png"/></div>  
        <div id="mes_txt">
          <div id="cont_txt">
           	<div class="cont_bt"><img src="image/c_bt.gif"/></div>
                <div class="cont_lxfs">
                	<ul>
                    	<li>Company name : ${us.name }</li>
						<li>Phone : ${us.phone }</li>
						<li>Company address : ${us.address }</li>
						<li>Fax : ${us.fax }</li>
						<li>Contact : ${us.contact }</li>
						<li>Mail : ${us.email }</li>
                    </ul>
</div>
            </div>
            
            
            <div class="mes_book">
              <div class="cont_bt">
              	<a href="contact.html"><img src="image/c_bta.gif" style="border:0px;"></a>
              </div>
              <div class="mes_list">
              	<div class="mes_pic"><img src="image/m_t.gif"/></div>
                <div class="mes_bg">
                	<table width="580" height="42" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="62"><img src="image/rx.gif" width="18" height="24" />${message.name }</td>
    <td width="518" align="right">${message.date.time }</td>
  </tr>
  <tr>
    <td height="1" colspan="2" style="background:url(image/line.gif )no-repeat top;"></td>
    </tr>
  <tr>
    <td align="center" valign="middle"><img src="image/ico_c.gif" width="35" height="32" /></td>
    <td>${message.content }</td>
  </tr>
</table>

              </div>
                <div class="mes_pic"><img src="image/m_b.gif"/></div>
            	
            </div>
            <div class="tres">
<span class="disabled">&lt; </span><a href="message/${up }">上一页</a>

	<span class="current">${page }</span>
	<c:forEach begin="1" end="6" var="i">
		<c:if test="${page + i <= rows}">
			<a href="message/${page + i }">${page + i }</a>
		</c:if>
	</c:forEach>

	<c:if test="${page + 6 < rows}">...</c:if>
	
	<a href="message/${next }">下一页</a></div>
   	  </div>
     </div>
              
</div>